<template>
	<view class = "my-content">
		<view class = "back">
			<image class = "avatar" src="" mode="" />
			<view class = "name">张三</view>
		</view>
		<view class = "card">
			<view class = "card-statistics">
				<view class="card-statistics-item">
					<view class="label">8</view>
					<view class="value">收藏的店铺</view>
				</view>
				<view class="card-statistics-item">
					<view class="label">14</view>
					<view class="value">收藏的商品</view>
				</view>
				<view class="card-statistics-item">
					<view class="label">18</view>
					<view class="value">关注的商品</view>
				</view>
				<view class="card-statistics-item">
					<view class="label">84</view>
					<view class="value">足迹</view>
				</view>
			</view>
			<view class = "card-orders">
				<view class = "card-orders-name">我的订单</view>
				<view class="card-orders-content">
					<view class="card-orders-item">
						<image src="../../static/my/pay.png" mode="" />
						<view>待付款</view>
					</view>
					<view class="card-orders-item">
						<image src="../../static/my/car.png" mode="" />
						<view>待收货</view>
					</view>
					<view class="card-orders-item">
						<image src="../../static/my/send.png" mode="" />
						<view>退款/退货</view>
					</view>
					<view class="card-orders-item">
						<image src="../../static/my/order.png" mode="" />
						<view>全部订单</view>
					</view>
				</view>
			</view>
			<view class="card-capabilities">
				<view class="card-capabilities-item">
					<view>收货地址</view>  
					<view>></view>                      
				</view>
				<view class="card-capabilities-item">
					<view>联系客服</view>  
					<view>></view>                      
				</view>
				<view class="card-capabilities-item">
					<view>退出登录</view>  
					<view>></view>                      
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="less" scoped>
.my-content {
	width: 100%;
	height: 100vh;
	background: rgb(231, 231, 231);
	.back {
		width: 100%;
		height: 40%;
		background: #ff0000;
		display: flex;
		justify-content: center;
		.avatar {
			width: 250rpx;
			height: 250rpx;
			margin-top: 40rpx;
			background: ivory;
			border-radius: 50%;
		}
		.name {
			font-size: 20px;
			color: lightyellow;
			position: absolute;
			top: 320rpx;
			left: 50%;
			transform: translateX(-50%);
		}
	}
	.card {
		position: absolute;
		width: 94%;
		top: 410rpx;
		left: 50%;
		transform: translateX(-50%);
		.card-statistics {
			height: 120rpx;
			border-radius: 10rpx;
			display:flex;
			align-items: center;
			background: white;
			.card-statistics-item {
				width: 350rpx;
				font-size: 12px;
			    display: flex;
				flex-direction: column;
				align-items: center;
			}
		}
		.card-orders {
			.card-orders-name {
				height: 80rpx;
				line-height: 80rpx;
				margin-top: 10rpx;
				padding-left: 20rpx;
				background: white;
				border-radius: 10rpx 10rpx 0 0;
			}
			.card-orders-content {
				height: 160rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				background: white;
				margin-top: 4rpx;
				border-radius: 0 0 10rpx 10rpx;
				.card-orders-item {
					width: 25%;
					display: flex;
					flex-direction: column;
					align-items: center;
					image {
						width: 80rpx;
						height: 80rpx;
					}
					view {
						font-size: 12px;
					}
				}
			}
		}
		.card-capabilities {
			margin-top: 20rpx;
			background: white;
			.card-capabilities-item {
				height: 80rpx;
				margin: 0 20rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
			}
		}
	}
}
</style>
